package 测试;

import java.util.Scanner;
import java.util.StringTokenizer;

/**
 * StringTokenizer只能分割空格
 * 
 * @author hest0
 *
 */
public class StringTokeniZer测试 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		while (sc.hasNext()) {
			String tmp = sc.nextLine();
			StringTokenizer st = new StringTokenizer(tmp);
			while (st.hasMoreTokens()) {
				System.out.println(st.nextToken());
			}
		}
		sc.close();
	}

}
